package com.it.tydic.estate.module.model.inner;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import javax.persistence.*;

@Table(name = "tb_history")
public class TbHistory {
    /**
     * id
     */
    @Id
    @Column(name = "UID")
    private String uid;

    /**
     * 迁入id
     */
    @Column(name = "MOVEID")
    private String moveid;

    /**
     * 迁出id
     */
    @Column(name = "MOVEOUTID")
    private String moveoutid;

    /**
     * 房间id
     */
    @Column(name = "FJID")
    private String fjid;

    /**
     * 状态
     */
    @Column(name = "TYPE")
    private String type;

    /**
     * 修改时间
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "UPDATETIME")
    private Date updateTime;

    /**
     * 创建时间
     */
     @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @Column(name = "NEWDATE")
    private Date newdate;

    /**
     * 作废标记
     */
    @Column(name = "ZFBJ")
    private String zfbj;

    /**
     * 档案ID
     */
    @Column(name = "PROFILEID")
    private String profileid;
    /**
     * 档案ID
     */
    @Column(name = "OPERATOR")
    private String operator;
    @Column(name = "BZ")
    private String bz;

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getBz() {
        return bz;
    }

    public void setBz(String bz) {
        this.bz = bz;
    }

    /**
     * 获取id
     *
     * @return UID - id
     */
    public String getUid() {
        return uid;
    }

    /**
     * 设置id
     *
     * @param uid id
     */
    public void setUid(String uid) {
        this.uid = uid;
    }

    /**
     * 获取迁入id
     *
     * @return MOVEID - 迁入id
     */
    public String getMoveid() {
        return moveid;
    }

    /**
     * 设置迁入id
     *
     * @param moveid 迁入id
     */
    public void setMoveid(String moveid) {
        this.moveid = moveid;
    }

    /**
     * 获取迁出id
     *
     * @return MOVEOUTID - 迁出id
     */
    public String getMoveoutid() {
        return moveoutid;
    }

    /**
     * 设置迁出id
     *
     * @param moveoutid 迁出id
     */
    public void setMoveoutid(String moveoutid) {
        this.moveoutid = moveoutid;
    }

    /**
     * 获取房间id
     *
     * @return FJID - 房间id
     */
    public String getFjid() {
        return fjid;
    }

    /**
     * 设置房间id
     *
     * @param fjid 房间id
     */
    public void setFjid(String fjid) {
        this.fjid = fjid;
    }

    /**
     * 获取状态
     *
     * @return TYPE - 状态
     */
    public String getType() {
        return type;
    }

    /**
     * 设置状态
     *
     * @param type 状态
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * 获取修改时间
     *
     * @return UPDATE - 修改时间
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置修改时间
     *
     * @param updateTime 修改时间
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取创建时间D
     *
     * @return NEWDATE - 创建时间D
     */
    public Date getNewdate() {
        return newdate;
    }

    /**
     * 设置创建时间D
     *
     * @param newdate 创建时间D
     */
    public void setNewdate(Date newdate) {
        this.newdate = newdate;
    }

    /**
     * 获取作废标记
     *
     * @return ZFBJ - 作废标记
     */
    public String getZfbj() {
        return zfbj;
    }

    /**
     * 设置作废标记
     *
     * @param zfbj 作废标记
     */
    public void setZfbj(String zfbj) {
        this.zfbj = zfbj;
    }

    /**
     * 获取档案ID
     *
     * @return PROFILEID - 档案ID
     */
    public String getProfileid() {
        return profileid;
    }

    /**
     * 设置档案ID
     *
     * @param profileid 档案ID
     */
    public void setProfileid(String profileid) {
        this.profileid = profileid;
    }
}